package com.qianfeng.smartplatform.event;/*
 *@Description:
 *@author:赵健
 *@Date:zjzzz 2022/9/13 20:09
 */

public class DeviceStatusEvent {
    private String deviceId;

    private Status status;


    public DeviceStatusEvent(String deviceId, Status status) {
        this.deviceId = deviceId;
        this.status = status;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public  static enum Status {
        ONLINE,OFFLINE;
    }
}
